package io.renren.modules.teacher.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface TeacherCourseManageDao {
    List<Map<String, Object>> queryList(Map<String, Object> params);

    int queryTotal(Map<String, Object> params);

    String queryTeacherId(Map<String, Object> params);

    void addCourse(Map<String, Object> dataForm);

    Map<String, Object> queryData(@Param("courseId") String courseId);

    void update(Map<String, Object> dataForm);

    void delete(String[] listIds);

    void addChapter(Map<String, Object> form);

    Map<String, Object> getChapter(@Param("chapterId") String chapterId);

    void updateChapter(Map<String, Object> formData);

    void delChapterContent(Map<String, Object> formData);
}
